-- *****************************************************************
-- REDSTONE-BRIDGE-ETHERNET-MIB
--
-- Redstone Communications Inc. Enterprise MIB
-- BRIDGE ETHERNET MIB
--
-- Copyright 1999 Redstone Communications, Incorporated.
-- All Rights Reserved.
-- *****************************************************************

REDSTONE-BRIDGE-ETHERNET-MIB DEFINITIONS ::= BEGIN

IMPORTS
        MODULE-IDENTITY, OBJECT-TYPE
                FROM SNMPv2-SMI

        RowStatus, TimeStamp
                FROM SNMPv2-TC

        InterfaceIndex, InterfaceIndexOrZero
                FROM IF-MIB

        rsMgmt
                FROM REDSTONE-SMI

        RsNextIfIndex
                FROM REDSTONE-TC;


rsBridgeEthernetMIB  MODULE-IDENTITY
        LAST-UPDATED "9912310000Z"
        ORGANIZATION "Redstone Communications, Inc."
        CONTACT-INFO
        "
        Redstone Communications, Inc.
                5 Carlisle Road
        Westford MA 01886
        USA
        Tel:    +1-978-692-1999
                Email:  mib@redstonecom.com
        "
        DESCRIPTION
                "The Bridge Ethernet MIB for the 
                Redstone Communications Inc. enterprise."
        REVISION      "9912310000Z"
        DESCRIPTION
                "Obsolete rsBridgedEthProxyArp."
        REVISION      "9801010000Z"
        DESCRIPTION
                "Initial version of this MIB module."
        ::= { rsMgmt 31 }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Textual conventions
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No textual conventions are defined in this MIB.


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed objects
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsBridgedEthernetObjects     OBJECT IDENTIFIER ::= { rsBridgeEthernetMIB 1 }

-- 
-- This MIB contains managed objects for the bridged Ethernet
-- sublayer interface.
--
-- Management objects are provided to query for an available
-- interface index, and to create/delete interfaces of that type.
-- Creating/deleting these interface types using this MIB has the
-- side effect of creating/deleting corresponding entries in the
-- Interface MIB ifTable/ifXTable, and in the Redstone Enterprise
-- Interface MIB rsIfTable.
--

rsBridgedEthernetIfLayer    OBJECT IDENTIFIER ::= { rsBridgedEthernetObjects 1 }

-- //////////////////////////////////////////////////////////////////////
--
-- Bridged Ethernet Interface Layer
--
-- This layer is managed with the following elements:
--
--  o NextIfIndex (generator for Bridged Ethernet IfIndex selection)
--  o Interface Table (creation/configuration/deletion of Bridged Ethernet interfaces)
--
-- //////////////////////////////////////////////////////////////////////

--
-- IfIndex selection for creating new Brdiged Ethernet interfaces
--

rsBridgedEthernetNextIfIndex OBJECT-TYPE
    SYNTAX      RsNextIfIndex
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Coordinate ifIndex value allocation for entries
        in rsBridgedEthernetIfTable.

        A GET of this object returns the next available ifIndex 
        value to be used to create an entry in the associated
        interface table; or zero, if no valid ifIndex value is
        available. This object also returns a value of zero when 
        it is the lexicographic successor of a varbind presented 
        in an SNMP GETNEXT or GETBULK request, for which circumstance
        it is assumed that ifIndex allocation is unintended.

        Successive GETs will typically return different
        values, thus avoiding collisions among cooperating
        management clients seeking to create table entries
        simultaneously.
        "
    ::= { rsBridgedEthernetIfLayer 1 }

--
-- The Bridged Ethernet Interface Table
--

rsBridgedEthernetIfTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF RsBridgedEthernetIfEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
                "The parameters for the BridgedEthernet service on this
                interface."        

    ::= { rsBridgedEthernetIfLayer 2 }

rsBridgedEthernetIfEntry OBJECT-TYPE
    SYNTAX      RsBridgedEthernetIfEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The Parameters for a particular Bridged Ethernet interface. 

        Creating/deleting entries in this table causes corresponding 
        entries for be created/deleted in ifTable/ifXTable/rsIfTable"

    INDEX   { rsBridgedEthernetIfIfIndex }
    ::= { rsBridgedEthernetIfTable 1 }

RsBridgedEthernetIfEntry ::= SEQUENCE {
    rsBridgedEthernetIfIfIndex                InterfaceIndex,
    rsBridgedEthernetProxyArp                 INTEGER, 
    rsBridgedEthernetIfLowerIfIndex           InterfaceIndexOrZero,
    rsBridgedEthernetIfRowStatus              RowStatus
}

rsBridgedEthernetIfIfIndex OBJECT-TYPE
    SYNTAX      InterfaceIndex
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The ifIndex value of the corresponding ifEntry."
    ::= { rsBridgedEthernetIfEntry 1 }

rsBridgedEthernetProxyArp OBJECT-TYPE
    SYNTAX     INTEGER {enableRestricted(1),
                        enableUnrestricted(2),
                        disable(3) }
    MAX-ACCESS  read-write
    STATUS      obsolete
    DESCRIPTION
        "The proxyArp configuration setting for this entry.
        
        *** NOTE: This MIB object has been obsoleted. ***"
    DEFVAL { 1 }
    ::= { rsBridgedEthernetIfEntry 2 }

rsBridgedEthernetIfLowerIfIndex OBJECT-TYPE
    SYNTAX      InterfaceIndexOrZero
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The ifIndex of an interface over which this Bridged Ethernet
        interface is to be layered. A value of zero indicates no layering.
        An implementation may choose to require that a nonzero value
        be configured at entry creation."
    ::= { rsBridgedEthernetIfEntry 3 }

rsBridgedEthernetIfRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Controls creation/deletion of entries in this table
        according to the RowStatus textual convention, 
        constrained to support the following values only:

            createAndGo
            destroy
            
        To create an entry in this table, the following 
        entry objects MUST be explicitly configured:

            rsBridgedEthernetIfRowStatus
            rsBridgedEthernetIfLowerIfIndex

        In addition, when creating an entry the following
        conditions must hold:

            A value for rsBridgedEthernetIfIndex must have been determined
            previously, by reading rsBridgedEthernetNextIfIndex. 

            The interface identified by rsBridgedEthernetIfLowerIfIndex
            must exist, and must be an interface type that
            permits layering of Bridged Ethernet above it.

        A corresponding entry in ifTable/ifXTable/rsIfTable is 
        created/destroyed as a result of creating/destroying an entry 
        in this table. "

    ::= { rsBridgedEthernetIfEntry 4 }


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notification control objects
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No notifications are defined in this MIB. Placeholder follows.

-- rsBridgeEthernetTrapControl      OBJECT IDENTIFIER ::= { rsBridgeEthernetMIB 2 }


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notifications
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No notifications are defined in this MIB. Placeholder follows.

-- The following two OBJECT IDENTIFIERS are used to define SNMPv2 
-- Notifications that are easily translated into SNMPv1 Traps.

-- rsBridgedEthernetTraps        OBJECT IDENTIFIER ::= { rsBridgeEthernetMIB 3 }
-- rsBridgeEthernetPrefix        OBJECT IDENTIFIER ::= { rsBridgeEthernetTraps 0 }


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Conformance information
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsBridgeEthernetConformance OBJECT IDENTIFIER ::= { rsBridgeEthernetMIB 4 }
rsBridgeEthernetCompliances OBJECT IDENTIFIER ::= { rsBridgeEthernetConformance 1 }
rsBridgeEthernetGroups      OBJECT IDENTIFIER ::= { rsBridgeEthernetConformance 2 }

-- compliance statements

rsBridgedEthernetCompliance MODULE-COMPLIANCE
        STATUS  current
        DESCRIPTION
                "The compliance statement for entities which implement
                the Redstone Ethernet MIB."
        MODULE  -- this module
                MANDATORY-GROUPS { rsBridgedEthernetGroup }
        ::= { rsBridgeEthernetCompliances 1 }

-- units of conformance

rsBridgedEthernetGroup OBJECT-GROUP
        OBJECTS {
                    rsBridgedEthernetNextIfIndex,
                    rsBridgedEthernetIfIfIndex,
                    rsBridgedEthernetProxyArp,
                    rsBridgedEthernetIfLowerIfIndex,
                    rsBridgedEthernetIfRowStatus
        }
        STATUS  current
        DESCRIPTION
                "A collection of objects providing management of Bridged Ethernet
                interfaces in a Redstone product."
    ::= { rsBridgeEthernetGroups 1 }

END